package com.ihisomp.service;

import com.ihisomp.base.Result;
import com.ihisomp.dto.SysHospitalDto;
import com.ihisomp.dto.SysPathTreeDto;
import com.ihisomp.entity.SysHospital;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 医疗机构信息表 服务类
 * </p>
 *
 * @author zy
 * @since 2022-01-12
 */
public interface ISysHospitalService extends IService<SysHospital> {

    Result getOrgTree();

    Result add(SysHospitalDto sysHospitalDto);

    Result updateStatus(String orgKey, int status);

    Result update(String orgKey, SysHospitalDto sysHospitalDto);

    Result get(String orgKey);

    Result search(long page, long size, SysHospitalDto sysHospitalDto);

    Result selectManageList();

    Result getPathByOrgKey(String orgKey);

    Result updateOrgPath(String orgKey, List<SysPathTreeDto> orgPathList);

    Result getOrgPathTree(String orgKey);

}
